<?php
namespace Home\Controller;

use Think\Controller;

class TokenController extends Controller {

    public function GetToken() {
        $token = md5(time());
        $DATA['token'] = $token;
        $data = ResData($DATA);
        $this->ajaxReturn($data, 'JSON');
    }

}